using DG.Tweening;
using UnityEngine;
using UnityEngine.UI;

public class UIBlackScreen : MonoBehaviour
{
	public Image blackImage;

	public void Show(TweenCallback onComplete)
	{
		base.gameObject.SetActive(value: true);
		blackImage.color = new Color(0f, 0f, 0f, 0f);
		blackImage.DOFade(1f, 0.2f).OnComplete(onComplete);
	}
}
